package com.lv.fast.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Author jie.lv
 */
@Data
@ApiModel("登录参数对象")
public class SysLoginDTO {

    @ApiModelProperty(value = "登录关键字", example = "zhangsan@saxofintech.com")
    @NotBlank(message = "登录关键字不能为空")
    private String key;

    @ApiModelProperty(value = "登录密码,md5加密后传输", example = "e10adc3949ba59abbe56e057f20f883e")
    @NotBlank(message = "登录密码不能为空")
    private String password;
}
